package com.leancloud.circle.activity;

import android.os.Bundle;
import android.widget.EditText;

import com.aries.ui.view.title.TitleBarView;
import com.leancloud.circle.R;

import tech.com.commoncore.base.BaseTitleActivity;
import tech.com.commoncore.utils.ToastUtil;

/**
 * @deprecated
 */
public class ReplyActivity extends BaseTitleActivity {

    private EditText replyEt;

    private String answerId;

    @Override
    public void setTitleBar(TitleBarView titleBar) {

    }

    @Override
    public int getContentLayout() {
        return R.layout.activity_reply;
    }

    @Override
    public void initView(Bundle savedInstanceState) {
        replyEt = findViewById(R.id.reply_et);

        answerId = getIntent().getStringExtra("answerId");
    }

    private void submitReply() {
        String reply = replyEt.getText().toString();
        if (reply == null || reply.isEmpty()) {
            ToastUtil.show("内容不能为空");
            return;
        }

    }
}
